    <meta name="referrer" content="never">
    <link rel="stylesheet" href="*ADMIN*/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="*ADMIN*/admin/css/font.css">
    <link rel="stylesheet" href="*ADMIN*/css/default.css">
    <link href="{:m()}/css/style.css?v={:set('banben')}" rel="stylesheet">
	<script src="*ADMIN*/js/jquery-3.4.1.min.js"></script>
    <script src="*ADMIN*/admin/lib/layui/layui.js"></script>
    <script src="{:m()}/js/public.js?v={:set('banben')}"></script>
    <!--预埋钩子-->
    {:hook('indexheader')}
</head>
<body>
    <div class="topbox">
        <div class="menu">
            <img src="{:m()}/img/menu.png" />
        </div>
        <!--移动端menu-->
        <div class="menubox">
            {if user('userid')}
            <div class="w_per clearfloat">
                <div class="w_pic">
                    <a href="{:url('index/user/set')}">
                        <img src="{:user('userhead')}">
                    </a>
                </div>
                <div class="w_login">	<span>{:user('username')}</span>
                </div>
            </div>
            <div class="w_syno">
				<a href="{:url('index/user/set')}">{:dingyi(user('description'),'去写点什么吧...')}</a>
			</div>
            <div class="fanbox">
                <div class="w_fan clearfloat">
                    <a href="javascript:;">
                        <p>{:fun_st('html', array('uid' => user('userid')))}</p>
                        <p>投稿</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p>{:fun_st('comment', array('uid' => user('userid')))}</p>
                        <p>评论</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p>{:user('point')}</p>
                        <p>{:set('jifen',2)}</p>
                    </a>
                </div>
            </div>
            <div class="w_pay clearfloat">
				<a href="{:url('index/user/uid',array('id'=>user('userid')))}" class="w_guan" target="_blank">主页</a> <a href="{:url('index/user/add')}">投稿</a>
			</div>
            {else/}
            <div class="w_per clearfloat">
                <div class="w_pic">
                    <a href="javascript:;">
                        <img src="/public/img/touxiang.jpg">
                    </a>
                </div>
                <div class="w_login">	
                    <span>欢迎您</span>
                </div>
            </div>
            <div class="fanbox">
                <div class="w_fan clearfloat">
                    <a href="javascript:;">
                        <p>{:fun_st('html', array('open' => 1))}</p>
                        <p>文章</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p>{:fun_st('comment', array())}</p>
                        <p>评论</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p>{:fun_st('member', array())}</p>
                        <p>会员</p>
                    </a>
                </div>
            </div>
            <div class="w_pay clearfloat">
				<a href="{:url('index/user/login')}" class="w_guan">登录</a> <a href="{:url('index/user/reg')}">注册</a>
			</div>
            {/if}
            <div class="w_mav">	
                <a href="/">首页</a>
                {volist name=":fun_s('link',array('wz'=>1,'open'=>1),'px desc',4,0)" id="vo"}
                <a href="{$vo.lianjie}" {if $vo.xin==1 }target="_blank" {/if}>{$vo.name}</a>
                {/volist}  
            </div>
            {if user('userid')}
            <div class="w_cen clearfloat">
				<a href="{:url('index/user/set')}" target="_blank" class="w_cent"><img src="{:m()}/img/wset.png">  <span>设置</span></a>
				<a url="{:url('index/api/logout')}" name="确实要退出登录吗" href="javascript:;" class="del_t w_set"><span>退出</span> <span class="wdian"></span></a>
			</div>
            {/if}
        </div>
        <div class="mobilezhe"></div>
        <div class="top clearfloat" align="center">
            <div class="logo">
                <a href="/">
                    <img src="{:set('logo')}" />
                </a>
            </div>
            <div class="nav">
                <ul class="clearfloat">
                    <li>
                        <a href="/">首页</a>
                    </li>
                    {volist name=":fun_s('link',array('wz'=>1,'open'=>1),'px desc',100,0)" id="vo"}
                    <li>
                        <a href="{$vo.lianjie}" {if $vo.xin==1 }target="_blank" {/if}>{$vo.name}</a>
                    </li>
                	{/volist}  
                </ul>
            </div>
            <form method="get" class="searchbox clearfloat" action="{:url('index/index/soso')}">
                <input type="text" name="ks" value="{:get('ks','')}" placeholder="关键字" />	
                <button type="submit" class="se_btn" style="background-color: rgba(110, 65, 255, 0);"></button>
            </form>
            <div class="regcut clearfloat">	
                {if user('userid')}
                <div class="login_tou">
                    <a href="javascript:;">
                        <img src="{:user('userhead')}">
                    </a>
                    <div class="login_down">
                        <ul>
                            <li><a href="{:url('index/user/set')}" target="_blank">{:user('username')}</a></li>
                            <li><a href="{:url('index/user/set')}" target="_blank">设置</a></li>
                            <li><a url="{:url('index/api/logout')}" name="确实要退出登录吗" href="javascript:;" class="del_t">退出</a></li>
                        </ul>
                    </div>
                </div>
                {else/}
                <div class="login_tou">
                    <a href="javascript:;">
                        <img src="/public/img/touxiang.jpg">
                    </a>
                    <div class="login_down">
                        <ul>
                            <li><a href="{:url('index/user/reg')}">注册</a></li>
                            <li><a href="{:url('index/user/login')}">登录</a></li>
                        </ul>
                    </div>
                </div>
                {/if}
            </div>
            <div class="serbtn">
                <img src="{:m()}/img/sear.png" />
            </div>
            <!--移动端搜索按钮-->
            <div class="w_search clearfloat">
                <form method="get" class="w_se clearfloat" action="{:url('index/index/soso')}">
                    <input type="text" name="ks" value="{:get('ks','')}" placeholder="关键字" />
                    <span><button type="submit" class="iconfont" style="background-color: rgba(110, 65, 255, 0);"></button></span>
                </form>
                <div class="w_sebtn">取消</div>
            </div>
        </div>
    </div>
    <div class="h_top"></div>    